package com.sam.spring.test.robot;

import java.util.Random;

import org.springframework.stereotype.Component;


@Component
public class RandomText {
	private static String[] texts ={
		"I'll be back",
		"Get out",
		"I want your clothes, boots and motorcyle"
	};
	
	public String getText(){
		Random random = new Random();
		return texts[random.nextInt(texts.length)];		
		
	}

}
